package com.lijinjiang.annotation01;

/**
 * @ClassName AnnotationDemo01
 * @Description 目标：学会自定义注解，掌握自定义格式和语法
 * @Author Li
 * @Date 2022/9/21 10:02
 * @ModifyDate 2022/9/21 10:02
 * @Version 1.0
 */
@MyBook(name = "《水浒传》", authors = {"施耐庵"}, price = 46.0)
public class AnnotationDemo01 {

    @MyBook(name = "《三国演义》", authors = {"罗贯中"}, price = 36.0)
    private String name;

    @MyBook(name = "《西游记》", authors = {"吴承恩"}, price = 40.0)
    public AnnotationDemo01() {
    }

    @MyBook(name = "《红楼梦》", authors = {"曹雪芹"}, price = 46.0)
    public static void main(String[] args) {
        @MyBook(name = "《山海经》", authors = {"徐客"}, price = 43.6)
        int index = 1;
    }
}
